package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Member;

import java.util.List;
import java.util.Map;

public interface MemberService {
    /*按照电话号码查询*/
    public Member findByTelephone(String telephone);
    /*添加会员*/
    public void add(Member member);
    /*按月查询会员数*/
    public List<Integer> findMemberCountByMonths(List<String> months);
    /*会员信息分页查询*/
    PageResult findPage(QueryPageBean queryPageBean);
    /*查询会员对应的健康管理师*/
    List<String> findManager();
/*根据id删除会员*/
    void delete(Integer id);
/*编辑会员信息*/
    void edit(Member member);
/*根据id查询*/
    Member findById(Integer id);
/*查询本月预约数和总会员数*/
    Map memberCount();
/*获取到所有会员的预约信息*/
    PageResult getMemberReport(QueryPageBean queryPageBean);
/*提交会员体检报告*/
    void uploadReport(Map map);
/*删除会员提交报告*/
    void deleteReport(Integer memberId, Integer orderId);
    /*查询全部的会员名集合*/
    List<String> findAll();

}
